﻿using ERP.Workflow.Designer.Domain.Shared;

namespace ERP.Workflow.Designer.Application.Contracts
{
    public class PortDto
    {
        public Guid Id { get; set; }
        public double X { get; set; }
        public double Y { get; set; }
        public double Width { get; set; }
        public double Height { get; set; }
        public Guid DefinitionId { get; set; }
        public Guid ParentId { get; set; }
        public List<LinkDto>? Links { get; set; } = new List<LinkDto>(4);

        public PortAlignments PortAlignments { get; set; }
    }
}